﻿<UserControl 
    x:Class="Coding4Fun.Toolkit.Test.WindowsPhone.Samples.ChatBubbles.ChatBubbleTestBasic"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:c4f="clr-namespace:Coding4Fun.Toolkit.Controls;assembly=Coding4Fun.Toolkit.Controls"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}">

    <StackPanel>
        <c4f:ChatBubble 
            Content="testing normal" 
            ChatBubbleDirection="UpperRight" />
        <c4f:ChatBubble 
            Content="testing normal w/ pad" 
            Padding="10" 
            ChatBubbleDirection="LowerLeft" />
		<c4f:ChatBubble 
            Content="testing invalid text wrapping: coding4fun coding4fun coding4fun"
            ChatBubbleDirection="UpperLeft"/>

        <c4f:ChatBubble 
            ChatBubbleDirection="LowerLeft"
            Margin="48, 0, 0, 0">
            <TextBlock TextWrapping="Wrap">
				testing proper wrapping: coding4fun coding4fun coding4fun coding4fun
            </TextBlock>
        </c4f:ChatBubble>

		<c4f:ChatBubble 
			Content="testing disabled" 
			IsEnabled="False" />
		
		<c4f:ChatBubble 
			Padding="10"
			Content="testing disabled w/ pad" 
			IsEnabled="False" />
    </StackPanel>
</UserControl>